home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / tk2.3 / dist / changes < prev    next >
Encoding:
Text File  |  1992-08-21  |  24.7 KB  |  579 lines

  1. This file summarizes all changes made to Tk since version 1.0 was
  2. released on March 13, 1991.  Changes that aren't backward compatible
  3. are marked specially.
  4.  
  5. 3/16/91 (bug fix) Modified tkWindow.c to remove Tk's Tcl commands from
  6. the interpreter when the main window is deleted (otherwise there will
  7. be dangling pointers to the non-existent window).
  8.  
  9. 3/16/91 (bug fix) Modified tkColor.c not to free black or white colors:
  10. some X servers get upset at this.
  11.  
  12. 3/18/91 (bug fix) Modified tkShare.c to fix bug causing "DeleteGroup
  13. couldn't find group on shareList" panic.
  14.  
  15. 3/18/91 (bug fix) Several changes to tkListbox.c and tkScrollbar.c to
  16. handle listboxes (and scrollbars) with zero total entries in them.
  17.  
  18. 3/22/91 (bug fix) Fixed a few ='s in tkListbox.c that should be ==.
  19.  
  20. 3/22/91 (bug fix) Fixed error in main.c that caused BadWindow errors
  21. in some cases where wish scripts invoke "destroy ."
  22.  
  23. 3/23/91 (new feature) Added Tk_CancelIdleCall to remove Tk_DoWhenIdle
  24. handler.
  25.  
  26. 3/23/91 (bug fix and new feature) Added -name option to main.c, made
  27. it more clever about choosing name (was always using the name "wish"
  28. on most Unix systems).
  29.  
  30. 3/23/91 (new feature) Added TK_CONFIG_STRING option to Tk_ConfigureWidget,
  31. used it to malloc strings for various widget options that used to be
  32. Tk_Uid's (e.g. button text, message strings, etc.).  Eliminates core
  33. leaks when values change in continuous non-repeating fashion.
  34.  
  35. 3/29/91 (new feature) Added Tk_Preserve, Tk_Release, and
  36. Tk_EventuallyFree procedures to help manage widget records and avoid
  37. premature memory free-ing.
  38.  
  39. 4/4/91 (bug fix) Fixed problem in tkWm.c where top-level window geometry
  40. wasn't tracking correctly when wm-induced size change also changed window
  41. position (e.g. menus wouldn't be displayed at the right places).
  42.  
  43. 4/5/91 (new feature) Added "invoke" option to widget command for buttons,
  44. check buttons, and radio buttons.
  45.  
  46. 4/5/91 (new feature) Added "unpack" option to "pack" command.
  47.  
  48. 4/5/91 (bug fix) Changed tkPack.c to use new Tk_Preserve code and be
  49. more careful about window deletions that occur while repacking is in
  50. progress.
  51.  
  52. 4/6/91 (bug fix) Major overhaul of deletion code in all widgets to use
  53. Tk_Preserve and Tk_Release.  Should fix many problems.
  54.  
  55. 4/6/91 (bug fix) Changed "winfo children" to generate correct lists
  56. when child names have embedded spaces.
  57.  
  58. 4/6/91 (new feature) Added "screenheight" and "screenwidth" options to
  59. "winfo".
  60.  
  61. 4/18/91 (bug fix) Binding mechanism didn't correctly handle very long
  62. %-substitutions in commands (e.g. long path names) and caused memory
  63. to be overwritten.  Modified tkBind.c to fix.
  64.  
  65. ---------------------- Release 1.1, 4/18/91 -------------------------
  66.  
  67. 4/19/91 (bug fix) Inconsistent ICCCM handling of coordinates of reparented
  68. windows causes windows to gradually walk south when moved or resized.
  69. Fixed tkWm.c to patch around the problem.
  70.  
  71. ---------------------- Release 1.2, 4/24/91 -------------------------
  72.  
  73. 4/26/91 (new feature) Added -geometry and -display switches to wish.
  74. Also wrote wish manual entry.
  75.  
  76. 5/3/91 (bug fix) Fixed bug in tkListbox.c that caused garbage to appear
  77. at right edge of window when strings were to large to fit in window.
  78.  
  79. 5/3/91 (bug fix) Fixed bug in tkListbox.c where topIndex wasn't getting
  80. updated when elements were deleted:  tended to cause errors in
  81. communication with scrollbars.
  82.  
  83. 5/16/91 (bug fix) Fixed bug in tk3d.c, which caused core dumps when
  84. consecutive points in a polygon were the same (happened with some
  85. configurations of radio buttons, for example).
  86.  
  87. 5/16/91 (bug fix) Fixed main.c to allow stdin to be redirected.
  88.  
  89. 6/1/91 (bug fix) Make sure that pointers are never used after being
  90. freed.
  91.  
  92. 6/15/91 (bug fix) Fixed bug in tkBind.c that caused current binding
  93. values to not always be printed correctly.
  94.  
  95. 6/15/91 (bug fix) Make sure that interpreters are always unregistered
  96. when their main windows are deleted, and make wish delete the main
  97. window before exiting.
  98.  
  99. 8/21/91 (misfeature correction)  Automatically set source of window
  100. position to "user" in "wm geometry" command, unless it has been
  101. explicitly set to "program".
  102.  
  103. 9/5/91 (bug fix) Modified option code to accept '#' as a comment
  104. character in .Xdefaults files, in addition to '!'.
  105.  
  106. 9/10/91 (misfeature correction) Changed binding mechanism so that
  107. numeric %-sequences are output in decimal instead of hex.
  108.  
  109. 9/19/91 (bug fix) Fixed bug in Tk_DoOneEvent(1) where it wasn't
  110. checking files and X connections properly so it missed events.
  111.  
  112. 10/6/91 (new feature) Reorganized tkBind.c to provide generic "binding
  113. table" structure, which can be used to create bindings on items in
  114. canvases as well as windows.
  115.  
  116. 10/6/91 (new feature) Upgraded buttons and menus to use new tracing
  117. code in Tcl 6.0.  Allows radio buttons and check buttons to both set
  118. and clear themselves when associated variable changes.
  119.  
  120. 10/17/91 (bug fix) Fixed 2 bugs in listboxes: accidentally advanced the
  121. selection when new entries were inserted in the listbox after the location
  122. of the selected item(s), and goofed up on redisplay if selected item
  123. was deleted and then selection was immediately lost.
  124.  
  125. 10/27/91 (bug fix) "pack unpack" wasn't telling Tk that it no longer
  126. manages window;  this led to core dumps in some situations.
  127.  
  128. 10/31/91 (reorganization) Renamed manual entries so that they are no
  129. more than 14 characters in length.
  130.  
  131. 10/31/91 (reorganization) Changed tk.h and tkInt.h so that tkInt.h
  132. doesn't needed to be included by tk.h.
  133.  
  134. 11/3/91 (portability improvement) Eliminated use of "class" as a variable
  135. name, since it's a reserved word in C++.
  136.  
  137. 11/7/91 (reorganization) Many changes to upgrade for Tcl 6.1 including
  138. use of Tcl hash tables instead of separate "Hash_" module.  The "lib"
  139. subdirectory is no longer needed in Tk.
  140.  
  141. ---------------------- Release 1.3, 11/7/91 -------------------------
  142.  
  143. 11/24/91 (bug fix) Fixed bug causing occasional errors if existing bindings
  144. are modified (FindSequence in tkBind.c forget to set *maskPtr).
  145.  
  146. 11/24/91 (bug fix) Used wrong hash table in Tk_GetColorByValue.  Could
  147. cause new entries to get created unnecessarily.
  148.  
  149. 12/2/91 (bug fix) Changed "bind" code to put backslashes in front of
  150. special characters (e.g. [ or \) that appear in %-replacements, so that
  151. they can be parsed cleanly.
  152.  
  153. 12/10/91 (bug fix) Manual entries had first lines that caused "man" program
  154. to try weird preprocessor.  Added blank comment lines to fix problem.
  155.  
  156. 1/2/92 (documentation cleanup) Changed manual entries for Tk_GetBitmap
  157. and the like to make it more clear that the argument must be a Tk_Uid
  158. and not a string.
  159.  
  160. 1/2/92 (bug fix) Fixed problem where scrollbars that were very short or
  161. very narrow (too small to hold both arrows) could cause negative values
  162. in calls to XClearArea, which crashed some servers.
  163.  
  164. 1/2/92 (bug fix) Fixed bug in TkMeasureChars occurring when maxChars
  165. is 0.  Occasionally affected things like message window geometry.
  166.  
  167. 1/3/92 (new feature) Added procedures Tk_GetJustify, Tk_GetAnchor,
  168. Tk_GetCapStyle, and Tk_GetJoinStyle, plus support for these things
  169. in Tk_ConfigureWidget.
  170.  
  171. ---------------------- Release 1.4, 1/10/92 -------------------------
  172.  
  173. 1/12/92 (bug fix) TkMenubutton.c wasn't cleaning up mbPtr->varName
  174. properly during menubutton cleanup if an error occurred during
  175. menubutton creation.
  176.  
  177. 1/19/92 (bug fix) Fixed off-by-one bug in tkListbox.c that caused
  178. scrollbars to display a slider that was too large.
  179.  
  180. 2/10/92 (bug fix) Tk_CreateFileHandler didn't correctly handle case
  181. where new mask was specified for existing handler.
  182.  
  183. 2/13/92 (bug fix) Tk_DeleteAllBindings wasn't correctly removing
  184. bindings from the pattern table:  only did the removal for the
  185. first pattern in a pattern list.
  186.  
  187. 2/15/92 (new feature) Added procedures Tk_DefineBitmap and
  188. Tk_SizeOfBitmap.  Tk_GetBitmapFromData is now considered obsolete
  189. and probably shouldn't be used anymore.  Tk_GetBitmapFromData
  190. is now implemented by calling Tk_DefineBitmap and Tk_GetBitmap.
  191.  
  192. 2/15/92 (new feature) Added "curselection" and "select clear" options
  193. to widget command for listboxes.
  194.  
  195. 2/15/92 (new feature) Added Tk_3DBorderColor procedure.
  196.  
  197. 2/17/92 (relaxed limitations) Changed scrollbars so they no longer limit
  198. the slider position to lie within the object's range:  can scroll off the
  199. end of an object, if the object permits it.  Changed listboxes and
  200. entries to explicitly prevent viewing off the ends.  Also relaxed
  201. listbox index checks so that out-of-range indices are automatically
  202. adjust to fit within the listbox range.
  203.  
  204. 2/19/92 (bug fix) tkWindow.c tended to leave half-created windows around
  205. if a new window's name was found to be in use already.  Fixed to clean
  206. them up.
  207.  
  208. 2/22/92 (new feature) Added -anchor, -bitmap, -height, -textvariable,
  209. -width options to labels, buttons, check buttons, menu buttons, and radio
  210. buttons.  This means that (a) size can be controlled better, (b) bitmaps
  211. can be displayed in any buttons, (c) the position of the text within the
  212. button can be controlled, and (d) a button can be made to display the value
  213. of a variable, continuously updating itself.  Also changed -selector option
  214. so that if it's specified as an empty string then no selector is drawn
  215. for the button.
  216.  
  217. 2/22/92 (new feature) Changed menus to support bitmaps in menu entries:
  218. added new -bitmap option for entries.
  219.  
  220. 2/26/92 (bug fix) "after" command, when invoked with just one argument,
  221. called Tk_Sleep rather than registering a timer handler and looping on
  222. Tk_DoOneEvent.  As a result, it caused the application to become non-
  223. responsive to X events during the sleep.  Changed to use a Tk_DoOneEvent
  224. loop so that it is responsive.
  225.  
  226. 2/26/92 (bug fix) Tk's main program didn't map the main window until
  227. after the startup script returned.  Changed to map the window as a
  228. do-when-idle handler, so that scripts can cause the window to be
  229. mapped immediately with a call to "update" or "after".
  230.  
  231. 2/28/92 (bug fix) "wm withdraw" wasn't working if invoked before window
  232. was originally mapped:  window got mapped anyway.  Fixed so that the
  233. window doesn't get mapped as long as it's withdrawn.
  234.  
  235. 2/29/92 (new feature) Can use "focus none" to clear input focus.
  236.  
  237. 2/29/92 (bug fix) Fixed tkEvent.c to generate SubstructureNotify events
  238. properly.  These weren't being generated previously.
  239.  
  240. 2/29/92 (bug fix) Fixed entries so that newline characters can be properly
  241. displayed (as `\x0a').  Had to change interface to TkDisplayChars in order
  242. to do this (added flags argument).
  243.  
  244. 2/29/92 (bug fix) Change Tk not to update size and position of top-level
  245. windows directly during calls like Tk_ResizeWindow.  Instead, wait until
  246. actual event is received.  This makes updates happen at same time as
  247. callbacks.
  248.  
  249. 3/6/92 (bug fix) TkMenubutton.c was dumping core when a menubutton was
  250. pressed at a time when there was no associated menu for the button.
  251.  
  252. 3/6/92 (new feature) Added Tk script library directory with official
  253. Tk initialization file "tk.tcl".  Other procedures used by Tk are in
  254. other files.  Tk procedures and variables all have names starting
  255. with "tk_".  Also added Wish startup script "wish.tcl", which sources
  256. both the Tk and Tcl startup scripts.  This means that things like
  257. auto-loading and abbreviation expansion are now available in wish.
  258. Added new variables tk_library, tk_priv, and tk_version.
  259.  
  260. 3/6/92 (new feature) It's now possible to set bindings for whole
  261. classes by using the class name in the bind command.  For example,
  262. "bind Button <Enter> {puts stdout Hi!}" will cause a mesage to be
  263. printed whenever any mouse button is entered.  Can also use "all"
  264. to set bindings for all widgets.  Widget-specific bindings override
  265. class bindings which override "all" bindings.
  266.  
  267. 3/6/92 (reorganization) Changed buttons (all flavors) and listboxes to
  268. eliminate all hard-wired behavior.  Instead, default behavior is set
  269. by class bindings in tk.tcl.  Also set up class bindings for menus,
  270. menubuttons, and entries, which previously had no default behavior at
  271. all.  Scrollbars and scales still have hard-wired behavior that can't
  272. be overridden.
  273.  
  274. 3/7/92 (look-and-feel change) Changed listboxes and entries and menus
  275. to use button 2 for scanning instead of button 3.  This is more consistent
  276. with the official Motif use of button 2 for dragging.
  277.  
  278. 3/10/92 (new features) Added more options to "winfo" command:  screencells,
  279. screendepth, screenmmheight, screenmmwidth, and screenvisual.
  280.  
  281. 3/13/92 (bug fix) Event sharing mechanism (tkShare.c) wasn't checking
  282. to see whether window was mapped before sharing events with it.
  283.  
  284. 3/16/92 (bug fix) Tk_SetInternalBorderWidth was passing wrong window to
  285. geometry-management procedures, causing core-dumps when menu buttons
  286. had their border widths changed.
  287.  
  288. 3/16/92 (bug fix) Menus were setting their geometry directory rather
  289. than using Tk_GeometryRequest mechanism.
  290.  
  291. 3/17/92 (new feature) Added -cursor option to all widgets to set the
  292. active cursor for the widget.  Also added TK_CONFIG_ACTIVE_CURSOR
  293. configure type. 
  294.  
  295. 3/18/92 (new feature) Implemented generalized screen coordinates to
  296. allow resolution-independent specification in many cases (but pixel-
  297. based coordinates are still OK).  Added Tk_GetScreenMM(),
  298. Tk_GetPixels(), new configure types TK_CONFIG_SCREEN_MM and
  299. TK_CONFIG_PIXELS.  Changed widgets to use this new configure types
  300. wherever possible (a few of the more complex cases still haven't
  301. been taken care of yet).  Added "pixels" and "fpixels" options to
  302. "winfo" command.
  303.  
  304. 3/18/92 (new feature) First cut at canvas widgets is done and part of
  305. the official Tk now.  Canvases display text and structured graphics,
  306. and allow you to bind commands to events related to the text and
  307. graphics.
  308.  
  309. 3/21/92 (new feature) Added new "place" command.  It implements a
  310. new geometry manager that provides fixed placement, rubber-sheet
  311. placement, and combinations of the two.  Eliminated the commands
  312. "move", "resize", and "map" that were provided by main.c but never
  313. officially supported;  the placer provides all of this functionality.
  314.  
  315. 3/23/92 (bug fix) Fixed bug in tkWm.c where top-level windows were
  316. occasionally not being given the right size.  The problem occurred
  317. when a string of resizes happened all in a row (such as deleting all
  318. the windows in an application and then recreating them).
  319.  
  320. 3/23/92 (new feature) Added Tk_CoordsToWindow procedure and
  321. "winfo containing" command.  These may be used to locate the window
  322. containing a given point.
  323.  
  324. 3/28/92 (new feature) Added "-exportselection" option to listboxes,
  325. so that listbox selection need not necessarily be the X selection.
  326.  
  327. 4/12/92 (bug fix) Changed menu buttons to store name of menubutton
  328. in the associated variable, rather than the name of the menu.  This
  329. is necessary in order to allow several menu buttons to share the
  330. same menu.
  331. *** POTENTIAL INCOMPATIBILITY ***
  332.  
  333. 4/12/92 (bug fix) Fixed core dump that occurred in tkError.c when
  334. removing the first error record from the error list.
  335.  
  336. 4/15/92 (bug fix) Fixed bug in tkBind.c that prevented <KeyPress-1>
  337. event specifications from being processed correctly:  the "1" was
  338. treated as a button name rather than a keysym.
  339.  
  340. 4/18/92 (new feature) Added Tk_DefineCursor and Tk_UndefineCursor
  341. procedures.
  342.  
  343. 4/18/92 (new feature) Major revision to listboxes.  Can now scroll and
  344. scan in both x and y, plus -exporselection option allows selection not
  345. to be exported.  The "view" widget command has been replaced by "xview"
  346. and "yview", and the "scan" widget command has a new syntax.
  347. *** POTENTIAL INCOMPATIBILITY ***
  348.  
  349. 4/18/92 (new feature) Added -exportselection option to entries, so you
  350. can select whether you want the entry selection to be the X selection
  351. or not.
  352.  
  353. 4/24/92 (new features) Added TK_CONFIG_CUSTOM type to Tk_ConfigureWidget,
  354. plus added new flags TK_CONFIG_NULL_OK, TK_CONFIG_DONT_SET_DEFAULT,
  355. and TK_CONFIG_OPTION_SPECIFIED.  Several other new types, such as
  356. TK_CONFIG_CAP_STYLE, were also added as part of implementing canvases.
  357.  
  358. 4/29/92 (bug fix) Changed "-selector" default for menus to have separate
  359. values for mono and color.
  360.  
  361. 4/30/92 (bug fix) Fixed bug in tkListbox.c where it occasionally generated
  362. bogus scroll commands (last index less than first).
  363.  
  364. 4/30/92 (reorganization) Moved demos directory to "library/demos".
  365.  
  366. ---------------------- Release 2.0, 5/1/92 -------------------------
  367.  
  368. 5/2/92 (bug fix) Fixed problem in tkListbox.c where it was doing too many
  369. redisplays after repeated insertions.  Also reduced number of invocations
  370. of scrollbar commands.
  371.  
  372. 5/7/92 (portability improvement) Changed main.c not to use TK_EXCEPTION
  373. flag;  it isn't needed and it causes problems on some systems.
  374.  
  375. 5/9/92 (bug fix) Plugged core leaks in tkListbox.c and tkBind.c
  376.  
  377. 5/9/92 (bug fix) TkBind.c was accidentally deleting bindings during
  378. attempts to print non-existent bindings.
  379.  
  380. 5/11/92 (bug fix) Maximum name length for applications (name used in
  381. "send" commands) was too short (only 20);  increased to 1000.  Also
  382. fixed bug related to over-long names that caused core dumps.
  383.  
  384. 5/13/92 (bug fix) tkShare.c was using a dangling pointer if a share
  385. group was deleted as a side-effect of a shared event.
  386.  
  387. 5/13/92 (bug fix) Various initialization and core leak problems in
  388. tkGC.c, tkSend.c, tkMenu.c, tkEvent.c, tkCanvas.c, tkCanvPoly.c,
  389. tkCanvLine.c, tkListbox.c, tkEntry.c.
  390.  
  391. 5/13/92 (bug fix) Empty entries could be scanned off the left edge,
  392. displaying a garbage character.
  393.  
  394. 5/13/92 (bug fix) Fixed a few problems with window manager interactions,
  395. such as tendency for windows to spontaneously shrink in size.  By no
  396. means are all of the problems fixed, though.
  397.  
  398. 5/13/92 (performance optimization) Changed Tk_GeometryRequest not to
  399. invoke geometry manager unless requested size has changed.
  400.  
  401. ---------------------- Release 2.1, 5/14/92 -------------------------
  402.  
  403. 5/1/92 (new features) Added flags like TK_IDLE_EVENTS to Tk_DoWhenIdle,
  404. plus added "idletasks" option to "update" command.  Tk_DoWhenIdle arguments
  405. look different now, but the change should be upward-compatible.
  406.  
  407. 5/17/92 (new feature/bug fix) Added support for VisibilityNotify events
  408. to the "bind" command.  For some reason they weren't supported previuosly.
  409.  
  410. 5/17/92 (new feature) Added "tkwait" command.
  411.  
  412. 5/17/92 (new feature) Added "grab" command.
  413.  
  414. 5/17/92 (new feature) Added "-width" option to messages.  Also changed 
  415. messages to use the computed (i.e. desired) line length when displaying,
  416. not the actual width of the window.
  417.  
  418. 5/17/92 (bug fixes) Did some more fiddling with tkWm.c in the hopes
  419. of improving window manager interactions.  Now there won't be more than
  420. one configure request outstanding to the wm at a time.
  421.  
  422. 5/17/92 (bug fix) Arrowheads on canvas lines weren't being translated
  423. or scaled correctly.
  424.  
  425. 5/20/92 (bug fix) Page-mode scrolling didn't work correctly for canvases
  426. (wrong windowUnits was passed to scrollbars).
  427.  
  428. 5/20/92 (bug fix) Changed scrollbars not to lose highlight when pointer
  429. leaves window with button down.  Also changed redisplay to double-buffer
  430. for smoother redraws.
  431.  
  432. 5/21/92 (new feature) Added "gray50" and "gray25" as predefined bitmaps.
  433.  
  434. 5/22/92 (new feature) Buttons can now be disabled using the "-state" and
  435. "-disabledforeground configuration options.  The "activate" and "deactivate"
  436. widget commands for buttons are now obsolete and will go away soon.
  437. Please change Tcl scripts not to use them.
  438.  
  439. 5/23/92 (new feature) Entries can now be disabled using the "-state"
  440. config option.  Also improved class bindings for entries to keep the
  441. cursor visible in the window when operations occur.  Also made slight
  442. improvements in the way redisplay is done.
  443.  
  444. 5/23/92 (new feature) Added "-textvariable" option to entries so that
  445. the text in an entry can be tied to the value of a global variable in
  446. a fashion similar to buttons.
  447.  
  448. 5/27/92 (new feature) Added "-textvariable" and "-anchor" options to
  449. messages.
  450.  
  451. 5/28/92 (new feature) Added "-padx" and "-pady" and "-underline" options
  452. to menubuttons.
  453.  
  454. 5/28/92 (feature change) Changed "-width" and "-height" options on
  455. all flavors of buttons and menubuttons so that they are orthogonal
  456. to "-padx" and "-pady".  It used to be that -width overrode -padx
  457. (no padding).  Now they accumulate.
  458.  
  459. 5/29/92 (new feature) Added "-disabledforeground" option to menus and
  460. all flavors of buttons (can specify color for disabled things rather
  461. than just using stipple to gray out).
  462.  
  463. 5/29/92 (new features) Added many new options to menu entries:
  464. -activebackground, -background, -font, -state, -underline.  The
  465. "disable" and "enable" widget commands for menus are now obsolete
  466. and will go away soon.  Please change Tcl scripts not to use them.
  467.  
  468. 5/29/92 (new features) Added "atom" and "atomname" options to "winfo"
  469. command.
  470.  
  471. 5/29/92 (new feature) Wrote tk_listboxSingleSelect procedure, which
  472. can be used to change listbox behavior so that only a single item is
  473. selected at once.
  474.  
  475. 6/1/92 (new feature) Added new modifier names "Meta" and "Alt" for
  476. "bind" command.
  477.  
  478. 6/3/92 (new feature) Added "winfo toplevel" command.
  479.  
  480. 6/3/92 (new feature) Made several changes for greater Motif compliance,
  481. including:
  482.     - menu retention if you click and release in the menu button,
  483.     - keyboard traversal of menus (see traversal.man)
  484.     - no widget flashing if you set $tk_strictMotif to 1
  485.  
  486. 6/15/92 (bug fix) Fixed problem in tkBind.c where command string for a
  487. binding could get reallocated while the command was being executed (e.g.
  488. bindings that delete or change themselves).
  489.  
  490. 6/15/92 (bug fix) Don't allow "tabWidth" field to become zero in tkFont.c:
  491. can cause core dumps for fonts that don't enough information to compute
  492. tab widths.
  493.  
  494. 6/19/92 (bug fix) Fixed bug in binding mechanism that caused structure-
  495. related events to be reported both to the correct window and its parent.
  496.  
  497. 7/14/92 (bug fix) Changed tkColor.c not to free colors for visual types
  498. StaticGray or StaticColor.
  499.  
  500. 7/15/92 (new feature) Text widgets now exist.  They display any number of
  501. lines of text with a variety of display formats, and include hypertext
  502. facilities.  See the manual page for details.
  503.  
  504. 7/20/92 (bug fix) If a top-level window was put in the iconic state to
  505. begin with, it could be deiconified with "wm deiconify .foo" until it had
  506. first been deiconified by hand from the window manager.  Tk was getting
  507. confused and thought the window was mapped when it wasn't.
  508.  
  509. 7/29/92 (bug fix) Don't permit rectangles or ovals to have zero-sized
  510. dimensions.  Round up to at least one pixel.
  511.  
  512. 7/29/92 (new features) Major upgrade to canvases:
  513.     - new item types: arc, window, bitmap
  514.     - added Bezier spline support for lines and polygons
  515.     - rectangles and ovals now center their outlines on the shape,
  516.       rather than drawing them entirely inside the shape
  517.     - new "coords" and "bbox" widget commands
  518.     - new "-tags" option for all item types.
  519.     - new "-confine" option to prevent scrolling off edge of canvas.
  520.  
  521. 8/6/92 (new feature) Added "-width" and "-height" options to frames.
  522. The "-geometry" option is now obsolete and should be removed from Tcl
  523. scripts:  it may go away in the future.
  524.  
  525. 8/7/92 (bug fix) Error messages in Tk_ParseArgv were sometimes including
  526. the option name where they should have included its value.
  527.  
  528. ---------------------- Release 2.2, 8/7/92 -------------------------
  529.  
  530. 8/7/92 (bug fix) Changed tkCanvas.c to be more conservative in the area
  531. it passes to XCopyArea.
  532.  
  533. 8/8/92 (bug fix) Fixed bug in tkTextDisp.c that sometimes caused core
  534. dumps when text views changed (e.g. typing return on last line of screen).
  535.  
  536. 8/8/92 (bug fix) Fixed bug in menu.tcl that caused errors when using
  537. keyboard to traverse over separator menue entries.
  538.  
  539. 8/10/92 (bug fix) Changed to use OPEN_MAX instead of MAX_FD to compute
  540. maximum # of open files.
  541.  
  542. 8/10/92 (bug fix) Canvases weren't updating scrollbars on window size
  543. changes.  They also weren't recentering canvases on window size changes.
  544.  
  545. 8/10/92 (bug fix) There were still a few places where commands were being
  546. invoked at local level instead of global level (e.g. commands associated
  547. with buttons and menu entries).
  548.  
  549. 8/10/92 (bug fix) TkBind.c used to ignore explicit shift modifiers for
  550. all keys (i.e. <Shift-Tab> was treated the same as <Tab>).  Modified to
  551. allow explicit request for shift modifier, like <Shift-Tab>.
  552.  
  553. 8/13/92 (feature change) Changed default fonts to request "Adobe" fonts
  554. explicitly.
  555.  
  556. 8/16/92 (bug fixes) Modified tkCanvArc.c and tkTrig.c to increase slightly
  557. the bounding boxes for arcs, in order to make sure that proper redisplay
  558. occurs when arcs are moved (little turds were getting left behind).
  559.  
  560. 8/16/92 (bug fix) Modified tkCanvas.c not to redraw at all if the redisplay
  561. area is off the screen.  Also, only do a background clear for the portion
  562. of the redraw area that is on-screen.  Also, reduced size of off-screen
  563. pixmaps used for redisplaying, which speeds up redisplay in some cases.
  564.  
  565. 8/19/92 (bug fix) Canvases that were taller than wide were not being
  566. redisplayed properly.
  567.  
  568. 8/20/92 (new feature) Added Tk_CreateGenericHandler procedure for trapping
  569. all X events (useful for tracing, watching non-Tk windows, etc.).
  570.  
  571. 8/21/92 (bug fix) Widgets weren't always being notified when they got
  572. the focus back again (the problem had to do with grabs and menus in
  573. particular).
  574.  
  575. 8/21/92 (new feature) Added "-state" option to scale widgets.
  576.  
  577. 8/22/92 (new feature) Changed tkBitmap.c to allow tilde-substitution
  578. to occur in bitmap file names.
  579.